import { createPinia } from 'pinia';

import persist from 'pinia-plugin-persistedstate';
//创建pinia
const pinia = createPinia();
//注册persist插件
pinia.use(persist);
// 抛出pinia
export default pinia;
export * from './modules/user';
